package com.dupt.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dupt.common.annotation.Excel;
import com.dupt.common.core.domain.BaseEntity;

/**
 * 物料清单主对象 dupt_material_bill_main
 * 
 * @author zhuanyu.sun
 * @date 2025-06-15
 */
public class MaterialBillMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物料清单ID */
    private String materialBillMainId;

    /** 物料清单单据编号 */
    @Excel(name = "物料清单单据编号")
    private String materialBillNo;

    /** 父物料ID */
    @Excel(name = "父物料ID")
    private Long materialCollectId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setMaterialBillMainId(String materialBillMainId)
    {
        this.materialBillMainId = materialBillMainId;
    }

    public String getMaterialBillMainId()
    {
        return materialBillMainId;
    }

    public void setMaterialBillNo(String materialBillNo) 
    {
        this.materialBillNo = materialBillNo;
    }

    public String getMaterialBillNo() 
    {
        return materialBillNo;
    }

    public void setMaterialCollectId(Long materialCollectId)
    {
        this.materialCollectId = materialCollectId;
    }

    public Long getMaterialCollectId()
    {
        return materialCollectId;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("materialBillMainId", getMaterialBillMainId())
            .append("materialBillNo", getMaterialBillNo())
            .append("materialCollectId", getMaterialCollectId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
